<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>test</title>
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <style type="text/css">
       h1 {font-size:16px;}
       p {font-size:14px;text-indent: 20px;}
    </style>
  </head>
  <body>
    <h1>1:接口名称</h1>
    <p>发布失踪宠物<br/>
    获取
    </p>
    <h1>2:接口说明</h1>
    <p>/square/missingpublish.do</p>
    <h1>3：接口测试</h1>
    <p>
    <form name="form1" id="form1" enctype="multipart/form-data" method="post" action="../square/missingpublish.do" >
	    ico_path:<input type="file" name="ico_path" value=""/> 头像<br/>
	    pet_cate:<input type="text" name="pet_cate" value=""/>  猫|狗<br/>
	    breed:<input type="text" name="breed" value="0"/> 品种<br/>
	    age:<input type="text" name="age" value="2.5"/> 年龄<br/>
	    sex:<input type="text" name="sex" value="male"/>male|female 雌雄 <br/>
	    feature:<input type="text" name="feature" value=""/>特征 毛色 体长等等 <br/>
	    area:<input type="text" name="area" value=""/>丢失区域  area <br/>
	    miss_date:<input type="text" name="miss_date" value="2015-05-02"/>丢失时间 <br/>
	    description:<textarea rows="5" cols="40" name="description"></textarea> <br/>
	    image0:<input type="file" name="image0" value=""/> 图片一<br/>
	    image1:<input type="file" name="image1" value=""/> 图片二<br/>
	    <input type="submit" value="submit" >
	</form>
	<br/>
    </p>
    
    <h1>4：接口返回</h1>
    <p>
    <div id="backJson">
          {code:200}
    </div>
    <br/>
    
    </p>
  </body>
</html>
<script type="text/javascript" src="/js/xhr.js"></script>
<script type="text/javascript" src="/js/cactus.js"></script>
<script>
    function exe(){
           Demo.execute("/square/missingpublish.do",document.forms["form1"]);
    }
</script>
